package com.itheima.reggie.service;

import com.itheima.reggie.common.PageResult;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface DishService{
    PageResult<DishDto> findPage(Long page, Long pageSize, String name);

    void saveWithFlavor(DishDto dishDto);

    DishDto findById(Long id);

    void updateWithFlavor(DishDto dishDto);

    R<String> uploadStatus(Integer status, List<Long> ids);

    List<DishDto> list(Dish dish);

    void deleteWithDish(List<Long> ids);


}
